package com.cxx.home.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxx.framework.data.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bill_record")
public class BillRecord extends AbstractEntity {
    @TableField("book_id")
    private Long bookId;

    @TableField("type")
    private String type;

    @TableField("category_id")
    private Long categoryId;

    @TableField("location")
    private String location;

    @TableField("date")
    private Date date;

    @TableField("amount")
    private Double amount;

    @TableField("content")
    private String content;

    @TableField("pay_id")
    private Long payId;

    @TableField("remark")
    private String remark;
}
